package com.ecoolex.hotel.saas.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.PresaleCouponCategoryJointMapper;
import com.ecoolex.hotel.saas.entity.PresaleCouponCategoryJoint;

public interface PresaleCouponCategoryJointDAO extends PresaleCouponCategoryJointMapper {
	
	Long count(@Param("categoryId") Integer categoryId,@Param("presaleCouponName") String presaleCouponName);
	
	List<PresaleCouponCategoryJoint> query(@Param("categoryId") Integer categoryId,@Param("presaleCouponName") String presaleCouponName,@Param("page") Page page);
}